package com.mrd.gtimpframe.repository;


import com.mrd.gtimpframe.entity.UserService;

import java.util.List;

public interface UserServiceMapper {
    int deleteByPrimaryKey(String id);

    /**
     * id自动生成，填入的id将被覆盖
     */
    int insert(UserService record);

    /**
     * id自动生成，填入的id将被覆盖
     */
    int insertSelective(UserService record);

    UserService selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserService record);

    int updateByPrimaryKey(UserService record);

    /**
     * 根据非空属性查找
     */
    List<UserService> selectSelective(UserService record);

    UserService selectBindedByUserIdAndOpenid(String userId, String openid);

    UserService selectByWeChatOpenid(String openid);

    UserService selectSMSByUserAccount(String account);

}
